<template>
  <div  class="fullelements">
    <pophead></pophead>
    <div style="padding:5px">
      <transition name="fade">
        <router-view></router-view>
      </transition>
    </div>
  </div>
</template>

<script>
import pophead from '@/components/public/pophead'
export default {
  name: 'render',
  data () {
    return {
    }
  },
  mounted: function () {
    let that = this
    // 监听url跳转
    this.H.electron.ipcRenderer.on('H_changeurl', (event, arg) => {
      that.$router.push({path: arg.newurl})
    })
  },
  components: { pophead }
}
</script>

<style>
a{
  text-decoration:none;
}
.fade-enter-active{
    transition: opacity .5s;
}
.fade-enter{
   opacity: 0;
}
.rightli{
  float:right;
  margin:10px;
}
.menui{
  background-color:#fbfbfb;
}
</style>
